package cn.vire.electric.simulation.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

import java.util.Set;

@Component
@Slf4j
@Order(Integer.MAX_VALUE)
public class AppInit implements ApplicationRunner {

    @Value("${test.col:'a','b','c'}")
    private Set<String> testCol;
    @Override
    public void run(ApplicationArguments args) throws Exception {
        log.info("o=|>> 服务全部启动完成 <<|=o");
    }
}
